server {
	listen 80;

	server_name {{ domain }};
	access_log /home/{{ usname }}/logs/access.log;
        error_log /home/{{ usname }}/logs/error.log warn;

        location / {
        	root  /home/{{ usname }}/public_html/kibana-{{ kibana_version}};
    		index index.html index.htm;
		auth_basic "Restricted";
		auth_basic_user_file {{ nginx_confd }}/{{ domain }}.htpasswd;
  	}
}

